import request from '@/utils/request'

// 价格模版列表
export function listFreight(data) {
  return request({
    url: '/freight/listFreight',
    method: 'post',
    data
  })
}
// 添加
export function createFreight(data) {
  return request({
    url: '/freight/createFreight',
    method: 'post',
    data
  })
}
// 编辑
export function updateFreight(data) {
  return request({
    url: '/freight/updateFreight',
    method: 'post',
    data
  })
}
// 删除
export function delFreight(data) {
  return request({
    url: '/freight/delFreight',
    method: 'post',
    data
  })
}
// 省份
export function getCity(data) {
  return request({
    url: '/freight/getCity',
    method: 'post',
    data
  })
}
